c4f734b2bfbbbbcb63de7b17d1f8f67fc515fa17,everrest-core/src/test/java/org/everrest/core/impl/uri/UriBuilderTest.java,UriBuilderTest,testResourceAndMethodAppendPathFail,#,472
Before Change
public void testResourceAndMethodAppendPathFail() {
try {
UriBuilder.fromUri("http://localhost:8080/base").path(R.class, "wrong").build();
fail("IllegalArgumentException should be thrown.");
} catch (IllegalArgumentException e) {
}
After Change
public void testResourceAndMethodAppendPathFail() {
try {
UriBuilder.fromUri("http://localhost:8080/base").path(R.class).path(R.class, "wrong").build();
fail("IllegalArgumentException should be thrown.");
} catch (IllegalArgumentException e) {
}